Skip to content

Conversation

dBianchii
Copy link

☕️ Reasoning

The docs are incorrect and that code snippet will not work, as you can't call useSession outside of a SessionProvider

🧢 Checklist

  • Documentation
  • Tests
  • Ready to be merged

🎫 Affected issues

📌 Resources

@dBianchii dBianchii requested a review from ndom91 as a code owner August 1, 2025 13:17
@dBianchii dBianchii changed the title Fix section of upgrading to v5 Fix docs section on upgrading to v5 Aug 1, 2025
Copy link

vercel bot commented Aug 1, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
auth-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 1, 2025 1:21pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
next-auth-docs ⬜️ Ignored (Inspect) Aug 1, 2025 1:21pm

Copy link

vercel bot commented Aug 1, 2025

@dBianchii is attempting to deploy a commit to the authjs Team on Vercel.

A member of the Team first needs to authorize it.

@halvaradop
Copy link
Contributor

Sorry about that—these changes were already made in a previous pull request. #12872

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants